<?php
	$form = new MailingGroupForm();
?>
<h1 class="heading">Visualizar Mailing group</h1>

<table class="form">
  <tbody>
  <tr><th colspan="2" class="title">Detalhes Mailing group</th></tr>
    <tr>
      <th><?php echo $form['id_mailing_group']->renderLabel() ?>:</th>
      <td><?php echo $mailing_group->getIdMailingGroup() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['nm_mailing_group']->renderLabel() ?>:</th>
      <td><?php echo $mailing_group->getNmMailingGroup() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['created_at']->renderLabel() ?>:</th>
      <td><?php echo $mailing_group->getCreatedAt() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['updated_at']->renderLabel() ?>:</th>
      <td><?php echo $mailing_group->getUpdatedAt() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['deleted']->renderLabel() ?>:</th>
      <td><?php echo $mailing_group->getDeleted() ?></td>
    </tr>
  </tbody>
</table>

<hr />

<?php
	comandos_form(
		link_to(
			':: Listar ::',
			'mailing_group/list',
			array('class' => 'botao')
		),
		link_to(
			':: Editar ::',
			'mailing_group/edit?id_mailing_group='.$mailing_group->getIdMailingGroup(),
			array('class' => 'botao')
		)
	);
?>